<?php /* Smarty version 2.6.16, created on 2008-07-04 23:32:42
         compiled from admin/tabs/sort.tmpl */ ?>
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/a/css/admin/nestedsortablewidget.css" type="text/css">

<script type="text/javascript" src="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/a/js/jQuery/sort/interface-1.2.js"></script>

<!--JSON plugin-->
<script type="text/javascript" src="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/a/js/jQuery/sort/json/json.js"></script>

<!--Nested Sortables-->
<script type="text/javascript" src="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/a/js/jQuery/sort/inestedsortable.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/a/js/jQuery/sort/jquery.nestedsortablewidget.js"></script>

<script type="text/javascript">
/* <![CDATA[ */
	jQuery( function($) { 
	
		$('#ajax-response5').NestedSortableWidget({
			name: 'sortable_list',
			loadUrl: "<?php echo $this->_tpl_vars['BASE_URL']; ?>
/menu/load_json",
			saveUrl: "<?php echo $this->_tpl_vars['BASE_URL']; ?>
/menu/save_from_json",
			paginate: false,
			incremental: true,
			onInitialLoad: function() {
				//alert('The last widget finished loading.');
			}
		});
	});
/* ]]> */
</script>

<div id="ajax-response5"></div>